import request from '@/utils/request'

//  创建团体
export function creatTeam(data) {
  return request({
    url: '/do?c=205001',
    method: 'post',
    data: data
  })
}

//  编辑团体
export function editTeam(data) {
  return request({
    url: '/do?c=205002',
    method: 'post',
    data: data
  })
}
//  更换团体管理员
export function changTeamAdmin(data) {
  return request({
    url: '/do?c=205003',
    method: 'post',
    data: data
  })
}
//  团体续签
export function renewTeam(data) {
  return request({
    url: '/do?c=205004',
    method: 'post',
    data: data
  })
}

//  团体订单列表
export function orderListTeam(data) {
  return request({
    url: '/do?c=205005',
    method: 'post',
    data: data
  })
}

//  导入团体会员
export function importTeamMember(data) {
  return request({
    url: '/do?c=205006',
    method: 'post',
    data: data
  })
}
//  团体列表
export function listTeam(data) {
  return request({
    url: '/do?c=205007',
    method: 'post',
    data: data
  })
}

//  添加团体会员
export function addTeamMember(data) {
  return request({
    url: '/do?c=205008',
    method: 'post',
    data: data
  })
}

//  删除团体会员
export function deleteTeamMember(data) {
  return request({
    url: '/do?c=205009',
    method: 'post',
    data: data
  })
}

//  团体会员列表
export function listTeamMember(data) {
  return request({
    url: '/do?c=205010',
    method: 'post',
    data: data
  })
}
//  团体详情
export function infoTeam(data) {
  return request({
    url: '/do?c=205011',
    method: 'post',
    data: data
  })
}

//  团体会员列表
export function listWXTeamMember(data) {
  return request({
    url: '/do?c=205012',
    method: 'post',
    data: data
  })
}

//  获取团体会员批量导入模板
export function getTeamMemberTemplateExcel(data) {
  return request({
    url: '/do?c=205013',
    method: 'post',
    data: data
  })
}

//  团体撤销
export function memberTeamDelete(data) {
  return request({
    url: '/do?c=205015',
    method: 'post',
    data: data
  })
}
